package com.ktjy.ch15.service;

import com.ktjy.ch15.entity.EdocEntry;
import com.ktjy.ch15.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface EdocEntryService {

    public Page<EdocEntry> findPage(EdocEntry edocEntry, Integer pageNo, Integer pageSize);

    public boolean save(EdocEntry edocEntry);

    public EdocEntry findById(Long id);

    public boolean update(EdocEntry edocEntry);

    public boolean delete(Long id);

    public EdocEntry findByTitle(@Param("title") String title);
}
